#define _CRT_SECURE_NO_WARNINGS 1
#include "SeqList.h"



int main()
{
	SL s;
	Inti_SL(&s);
	SLPushback(&s, 1);
	SLPushback(&s, 2);
	SLPushback(&s, 3);
	SLPushback(&s, 4);
	SLPushback(&s, 5);
	SLPushback(&s, 6);
	SLPushback(&s, 7);
	SLPushback(&s, 8);
	SLPushback(&s, 9);
	//SLInsert(&s, 5, 100);
	//SLPushfront(&s, 4);
	//SLPushfront(&s, 5);
	//SLPushfront(&s, 6);
	SLPrint(&s);
	SLPushback(&s, 999);
	SLPushfront(&s, 666);
	SLPrint(&s);
	SLPopback(&s);
	SLPrint(&s);
	SLPopfront(&s);
	SLPrint(&s);
	//SLErase(&s, 2);
	//SLPrint(&s);
	//SLErase(&s, 3);
	//SLPrint(&s);
	//SLErase(&s, 4);
	//SLPrint(&s);
	/*SLPopback(&s);
	SLPopback(&s);
	SLPrint(&s);
	SLPopback(&s);
	SLPopback(&s);
	SLPrint(&s);
	SLPopback(&s);
	SLPopback(&s);
	SLPopback(&s);
	SLPushfront(&s, 5);
	SLPushfront(&s, 6);
	SLPrint(&s);*/
	Destroy_SL(&s);
	return 0;
}